package yz.cp.back.s.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import yz.cp.back.s.entity.SysRole;
import yz.cp.back.s.mapper.SysRoleMapper;
import yz.cp.back.s.service.ISysRoleService;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jobob
 * @since 2019-04-03
 */
@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements ISysRoleService {
    @Override
    public List<SysRole> findByDefaultRole(Boolean defaultRole) {
        return this.baseMapper.findByDefaultRole(defaultRole);
    }
}
